package edu.zut.phf;
import edu.zut.phf.admin.domain.Vehicle;
import edu.zut.phf.admin.service.impl.vehicleManager;
import org.junit.Assert;
import org.junit.Test;

public class App {
    static vehicleManager usermanager = new vehicleManager() {
        @Override
        public Vehicle create(String id, String username) {
            return null;
        }
    };
    @Test
    public void test() {
        String id = "1";
        String name = "wangzhongyu";
        Vehicle a = new Vehicle();
        a.setID(id);
        a.setName(name);
        Vehicle vehicle = usermanager.create(id, name);
        Assert.assertEquals(a, vehicle);
    }
}